package com.brzjomo.secretiveworld.client.renderer.entity;

import com.brzjomo.secretiveworld.SecretiveWorld;
import com.brzjomo.secretiveworld.client.renderer.entity.model.TestFishModel;
import com.brzjomo.secretiveworld.entity.passive.fish.TestFishEntity;

import net.minecraft.client.renderer.entity.EntityRendererManager;
import net.minecraft.client.renderer.entity.MobRenderer;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;

@OnlyIn(Dist.CLIENT)
public class TestFishRenderer extends MobRenderer<TestFishEntity, TestFishModel<TestFishEntity>> {

	private static final ResourceLocation TEST_FISH_LOCATION = new ResourceLocation(SecretiveWorld.MODID,
			"textures/entity/fish/test_fish.png");

	public TestFishRenderer(EntityRendererManager renderManagerIn) {
		super(renderManagerIn, new TestFishModel<>(), 0.4F);
	}

	@Override
	public ResourceLocation getEntityTexture(TestFishEntity entity) {
		return TEST_FISH_LOCATION;
	}
}
